<template>
    <div style="width: 375px;height: 150px;background: blue;">
        <div style=" float: left;">
            <van-image round width="10rem" height="10rem" src="https://fastly.jsdelivr.net/npm/@vant/assets/cat.jpeg" />
        </div>
        <ul>
            <li style="color: white;">姓名：{{ username }}</li>
        </ul>
    </div>
    <van-cell title="我的订单" is-link to="/myorder" />
    <van-grid>
        <van-grid-item icon="notes-o" text="代付款" />
        <van-grid-item icon="tosend" text="待发货" />
        <van-grid-item icon="logistics" text="待收货" />
        <van-grid-item icon="completed-o" text="已完成" />
    </van-grid>
    <van-cell title="查看物流" is-link to="/wl" />
    <van-cell title="收货地址" is-link to="index" />
    <van-cell title="我的资金劵" is-link to="index" />
    <van-cell title="我的发票" is-link to="index" />
    <van-cell title="账户信息" is-link to="index" />
    <van-cell title="关于我们" is-link to="index" />
</template>

<script setup>
let username = localStorage.getItem('username')
</script>

<style lang="scss" scoped></style>